ValidationError Class

One problem found by a document's Validate method.

Definition

Namespace: Independentsoft.Office
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#
public class ValidationError
Inheritance
Object    ValidationError

Properties

Location Gets where the problem is, as a path through the object model - for example Slides[2] or Sheets[0].Name. Null when the problem is the document as a whole.
Message Gets what is wrong, in terms of the object model rather than the XML - the caller fixes this by changing the document, not the file.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Returns the location and the message, which is what belongs in a log.
(Overrides ObjectToString)

See Also